package com.jzcn.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jzcn.common.dto.log.LogListDTO;
import com.jzcn.common.dto.log.LoginLogDTO;
import com.jzcn.common.dto.log.SearchLoginLogDTO;
import com.jzcn.common.utils.JzPage;
import com.jzcn.domain.SysLog;
import com.jzcn.domain.SysLoginLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysLoginLogMapper extends BaseMapper<SysLoginLog> {

    Page<SysLoginLog> findPage(IPage<?> page, @Param("query") SearchLoginLogDTO query);
}
